Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBase<T> Class / TrimExcess Method


In This Topic
    TrimExcess Method (ListBase<T>)
    In This Topic
    Sets the capacity to the actual number of elements in the ListBase<T>, if that number is less than a threshold value.
    Syntax
    'Declaration
     
    
    Public Sub TrimExcess() 
    'Usage
     
    
    Dim instance As ListBase(Of T)
     
    instance.TrimExcess()
    public void TrimExcess()
    See Also